package com.ctshk.rpc.hotel.entity.es;

import com.ctshk.common.constant.ElasticSearchConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.time.LocalDate;

@Data
@ApiModel(description="酒店成本日期表")
@Document(indexName = ElasticSearchConstant.HOTEL_PRODUCT_COST_DATE_INDEX)
public class HotelProductCostDateEs {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "成本id")
    private Long costId;
    @ApiModelProperty(value = "有效期开始时间")
    private LocalDate dateBegin;
    @ApiModelProperty(value = "有效期结束时间")
    private LocalDate dateEnd;
}
